echo off
SET BLASTER=A220 I7 D1 T4
SET SOUND=C:\SBPRO
@IF EXIST C:\CONFIG.QDK COPY C:\CONFIG.QDK C:\CONFIG.SYS >NUL:
@IF EXIST C:\AUTOEXEC.QDK COPY C:\AUTOEXEC.QDK C:\AUTOEXEC.BAT >NUL:
@IF EXIST OPT7$$$$ GOTO AUTOOPT
@C:\AUTOEXEC.BAT
:AUTOOPT
C:\SBPRO\SBP-SET /M:12 /VOC:12 /CD:12 /FM:12
SET RA=C:\RA
prompt $p$g
path c:\dos;c:\pc4;c:\pctools;c:\ra;c:\pc4\scan;c:\zip;\windows;\wp51;c:\shell
c:\qemm\loadhi /r:2 /lo c:\dos\smartdrv /XC+
c:\qemm\loadhi /r:2 \mouse
c:\qemm\loadhi /r:1 \dos\doskey
@c:\qemm\optimize /b:c /seg:026d /finished /dir:c:\qemm\
@Echo OPTIMIZE is saving your new configuration...
@if exist c:\config.sys copy c:\config.sys c:\config.qdk >nul:
@copy c:\qemm\config.opt c:\config.sys >nul:
@del c:\qemm\config.opt  >nul:
@if exist c:\qemm\dos-up.dat copy c:\qemm\dos-up.dat c:\qemm\dos-up.qdk >nul:
@copy c:\qemm\dos-up$$.opt c:\qemm\dos-up.dat >nul:
@del c:\qemm\dos-up$$.opt  >nul:
@copy c:\qemm\autoexec.opt c:\autoexec.bat >nul:
@del c:\qemm\autoexec.opt >nul:
mode con delay=1 rate=32
\shell\shell
